.tree-holder {
  .tree-content-holder {
    float: left;
    width: 100%;
  }

  .tree_progress {
    display: none;
    margin: 20px;
    &.loading {
      display: block;
    }
  }

  .tree-table {
    @include border-radius(0);
    .tree-item {
      td {
        padding: 8px 10px;
        strong {
          font-weight: normal;
        }
      }
      &:hover {
        td {
          background: $hover;
          border-top: 1px solid #ADF;
          border-bottom: 1px solid #ADF;
        }
        cursor: pointer;
      }

      &.selected {
        td {
          background: $hover;
          border-top: 1px solid #ADF;
          border-bottom: 1px solid #ADF;
        }
      }
    }
  }

  .tree-item {
    .tree-item-file-name {
      vertical-align: middle;
      a {
        &:hover {
          color: $primary_color;
        }
      }

      img {
        position: relative;
        top:-1px;
      }
    }
  }

  .tree-table {
    th .btn {
      margin: -2px -1px;
      padding: 2px 10px;
    }
    td {
      line-height: 20px;
      background: #fafafa;
    }
  }

  .tree_author {
    padding-right: 8px;

    img.avatar {
      margin-top: 0;
      width: 16px;
    }
  }

  .tree_commit {
    color: gray;

    .tree-commit-link {
      color: #444;
      &:hover {
        text-decoration: underline;
      }
    }
  }

  .blame {
    img.avatar {
      border: 0 none;
      float: none;
      margin: 0;
      padding: 0;
    }
    td.blame-commit {
      background: #f9f9f9;
      min-width: 350px;
    }
    td.blame-numbers {
      pre {
        color: #AAA;
        white-space: pre;
      }
      background: #f1f1f1;
      border-left: 1px solid #DDD;
    }
  }
}

.tree-btn-group {
  top: 2px;

  .btn {
    margin-right: 0px;
    padding: 2px 10px;
  }
}

.tree-ref-holder {
  float: left;
  margin-top: 5px;
}
